-- GENERATED SPELL FOR [Dustwind Storm Witch] --


function spell0_3118(pUnit, Event) --@Lightning Bolt,n/a--
pUnit:FullCastSpellOnTarget(9532,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3118', 3000, 1)
end

function Sorts_3118(pUnit, Event)
local choix_sorts_3118 = math.random(0, 0)
if choix_sorts_3118 == 0 then
pUnit:RegisterEvent('spell0_3118', 1, 1)
end
end

function mob3118_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3118', math.random(1500, 3000), 1)
end

function mob3118_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3118_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3118_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3118, 1, 'mob3118_Action')
RegisterUnitEvent(3118, 2, 'mob3118_Leave')
RegisterUnitEvent(3118, 3, 'mob3118_Kill')
RegisterUnitEvent(3118, 4, 'mob3118_Die')
